<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
|	example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|	http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There area two reserved routes:
|
|	$route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|	$route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router what URI segments to use if those provided
| in the URL cannot be matched to a valid route.
|
*/

$route['default_controller'] = "main";
$route['404_override'] = '';

$route['chou-a-la-creme'] = 'chou_a_la_creme';
$route['japanese-bakery'] = 'japanese_bakery';
$route['delivery-faq'] = 'delivery_faq';


$route['admin'] = 'admin/home';
$route['admin'] = 'admin/home';
$route['admin/main'] = 'admin/home/main';


$route['admin/news/(:num)'] = "admin/news/lists/$1";

$route['admin/about/edit-process'] = "admin/about/edit_process";

$route['admin/japanese-bakery'] = "admin/japanese_bakery";
$route['admin/japanese-bakery/(:num)'] = "admin/japanese_bakery/lists/$1";
$route['admin/japanese-bakery/add'] = "admin/japanese_bakery/add";
$route['admin/japanese-bakery/add-process'] = "admin/japanese_bakery/add_process";
$route['admin/japanese-bakery/edit'] = "admin/japanese_bakery/edit";
$route['admin/japanese-bakery/edit/(:num)'] = "admin/japanese_bakery/edit/$1";
$route['admin/japanese-bakery/edit-process'] = "admin/japanese_bakery/edit_process";
$route['admin/japanese-bakery/del/(:num)'] = "admin/japanese_bakery/del/$1";

$route['admin/chou-a-la-creme'] = "admin/chou_a_la_creme";
$route['admin/chou-a-la-creme/(:num)'] = "admin/chou_a_la_creme/lists/$1";
$route['admin/chou-a-la-creme/add'] = "admin/chou_a_la_creme/add";
$route['admin/chou-a-la-creme/add-process'] = "admin/chou_a_la_creme/add_process";
$route['admin/chou-a-la-creme/edit'] = "admin/chou_a_la_creme/edit";
$route['admin/chou-a-la-creme/edit/(:num)'] = "admin/chou_a_la_creme/edit/$1";
$route['admin/chou-a-la-creme/edit-process'] = "admin/chou_a_la_creme/edit_process";
$route['admin/chou-a-la-creme/del/(:num)'] = "admin/chou_a_la_creme/del/$1";

/* End of file routes.php */
/* Location: ./application/config/routes.php */